from django.urls import path

from subjects_app.views import SubjectListView
from .views import *

urlpatterns = [
    path('user_subjects/', SubjectListView.as_view(), name='subject_list'),  # 列出所有学科
    path('add_subjects/', SubjectCreateView.as_view(), name='subject_update'),  # 根据id更新
]